#ifndef _CAN_OD_SEVER_H_
#define _CAN_OD_SEVER_H_

#define CLIENT_PUSH 0x01 
#define CLIENT_PULL 0x02 
#define CLIENT_CALL 0x04
#define SERVER_PUSH_ACK 0x08 
#define SERVER_PULL_BACK 0x10 
#define SERVER_CALL_ACK 0x20 

#include "object_dict.h"
int server_push(struct object_dict* od, int index ,void* data_address);
int server_pull_back(const struct object_dict* od, int index);
int server_call(const struct object_dict* od, int index);
#endif
